<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>添加 / 修改</title>
    <link href="${pageContext.request.contextPath}/style/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/tool/jquery/jquery.min.js"></script>
<script language="javascript" src="${pageContext.request.contextPath}/js/public.js"></script>
</head>
<body>
 <div class="mainCon">
  <div class="mCon">
  <div class="mCon_tab">
   <ul>   
    <li><span class="mCon_1cuta">添加 / 修改客户信息</span></li>

   </ul>
  </div>
  <form action="${pageContext.request.contextPath}/admin/user/do_save_customer.action" method="post">
  <input type="hidden" name="id" value="${empty baseinfo ? 0 : baseinfo.id}" />
  <div class="main_list">
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>名称：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="customername" value="${baseinfo.customername}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>简拼：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="jianpin" value="${baseinfo.jianpin}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>业务员：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<select name="ywyid" class="sel_page_edit">
              <option value="">请选择</option>
              <c:if test="${!empty ywyList}">
              <c:forEach items="${ywyList}" var="one">
              	<option value="${one.id}" <c:if test="${baseinfo.ywyid==one.id}">selected="selected"</c:if>>${one.ywyname}</option>
              </c:forEach>
              </c:if>
            </select>
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>常规：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<select name="invoice" class="sel_page_edit">
              <option value="">请选择</option>
              <option value="是" <c:if test="${baseinfo.invoice==是}">selected="selected"</c:if>>是</option>
              <option value="否" <c:if test="${baseinfo.invoice==否}">selected="selected"</c:if>>否</option>
            </select>
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>地区：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<select name="provientid" class="sel_page_edit">
              <option value="">请选择</option>
              <c:if test="${!empty areaList}">
              <c:forEach items="${areaList}" var="one">
              	<option value="${one['areaId']}" <c:if test="${baseinfo.provientid==one['areaId']}">selected="selected"</c:if>>${one['areaname']}</option>
              </c:forEach>
              </c:if>
            </select>
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>税号：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="taxnum" value="${baseinfo.taxnum}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>地址：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="address" value="${baseinfo.address}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>邮编：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="postcode" value="${baseinfo.postcode}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>电话：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="tel" value="${baseinfo.tel}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>传真：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="fax" value="${baseinfo.fax}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>开户行：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="bank" value="${baseinfo.bank}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>账号：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="banknum" value="${baseinfo.banknum}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   <div class="inke_list">
    	<div class="left">
          <div class="mCon_1t mCon_2t"><strong>发货方式：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="shipmenttype" value="${baseinfo.shipmenttype}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
        <div class="left">
          <div class="mCon_1t mCon_2t"><strong>到货地址：</strong></div>
          <div class="mCon_con mCon_con2 ">
			<input class="mCon_int" type="text" style="width:260px;" name="shipmentaddr" value="${baseinfo.shipmentaddr}" onblur="this.className='mCon_int'" onfocus="this.className+=' mCon_int int_yewBg'">
		  </div>
        </div>
   </div>
   
   <div class="inke_list">

    <div class="mCon_1t mCon_2t"><strong>备注：</strong></div>
    <div class="mCon_con mCon_con2">
    	<textarea name="customerdesc" style="width:40%;height:50px;" onfocus="this.className='int_yewBg'" onblur="this.className=''">${baseinfo.customerdesc}</textarea>
    </div>
    </div>

  </div>
  <div class="scxz">

      <input class="fx1" name="" type="submit" value="保 存" />
      <input class="fx1" type="button" onclick="history.back(-1);" value="返 回" />
  </div>
  </form>
  <div class="clear"></div>
  </div>
  <div class="clear"></div>
 </div>
</body>
</html>


